# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit vala git-2

DESCRIPTION="A lightweigth terminal written in Vala"
HOMEPAGE="http://gitorious.org/valaterm/"
EGIT_REPO_URI="git://gitorious.org/valaterm/valaterm.git"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE="nls -debug"

RDEPEND="x11-libs/gtk+:2
	x11-libs/vte:0"
DEPEND="${RDEPEND}
	dev-lang/vala"

DOCS="AUTHORS NEWS README TODO"

VALA_REQUIRED_VERSION="0.12"

src_configure() {
	use nls || conf="${WCONF} --disable-nls"
	use debug && conf="${WCONF} --debug"

	waf_src_configure
}
